/**
 * 
 */
package be.bejug.scrumadmin.enums;

import static com.vaadin.terminal.Sizeable.UNITS_PERCENTAGE;
import static com.vaadin.terminal.Sizeable.UNITS_PIXELS;

/**
 * @author Glenn Dejaeger
 * 
 */
public enum Size {

	CONTENT_WIDTH(980, UNITS_PIXELS), HEADER_WIDTH(1010, UNITS_PIXELS), HEADER_HEIGHT(
			182, UNITS_PIXELS), APP_HEIGHT(100, UNITS_PERCENTAGE), LOGIN_WINDOW_WIDTH(
			350, UNITS_PIXELS), LOGIN_PANEL_WIDTH(300, UNITS_PIXELS), MENUBAR_HEIGHT(
			20, UNITS_PIXELS), CONTENT_TOP_HEIGHT(15, UNITS_PIXELS), CONTENT_BOTTOM_HEIGHT(
			20, UNITS_PIXELS);

	private int value;
	private int units;

	/**
	 * @param value
	 * @param units
	 */
	private Size(final int value, final int units) {
		this.value = value;
		this.units = units;
	}

	/**
	 * @return the value
	 */
	public int getValue() {
		return value;
	}

	/**
	 * @return the units
	 */
	public int getUnits() {
		return units;
	}
}
